#ifndef MAINWINDOW_HH
#define MAINWINDOW_HH

#include "Window.h"

#include "SampleWindow.h"
#include "FieldWindow.h"
#include "CurrentWindow.h"
#include "SimulationWindow.h"
#include "OutputWindow.h"
#include "PlotWindow.h"
#include "ProgressWindow.h"
#include "NewParameters.h"

class MainWindow : public Window
{
  Q_OBJECT

private:
  SimulationWindow *simulationWindow;
  CurrentWindow *currentWindow;
  FieldWindow *fieldWindow;
  SampleWindow *sampleWindow;
  OutputWindow *outputWindow;
  PlotWindow *plotWindow;
  //ProgressWindow *progressWindow;

  QString fileName,outputFile;

  NewParameters mainParams;
  QProgressDialog progressDialog;
public:
  

  MainWindow();

  virtual ~MainWindow();
  void getParameters();
  void sendParameters();
  void initialize();
  void sortFileName();

public slots:
  void runSimulation();
  void saveParameters();
  void saveDialog();
  void loadParameters();
};

#endif
